/* =============================================
   LANDING.CSS — Assignment 3 Upgrade
   Extends and modernizes the base site theme.
   Import AFTER styles.css in landing.html.
   Does not affect any other pages.
============================================= */

/* --- Google Fonts upgrade for landing page only --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

/* =============================================
   DARK THEME (default)
============================================= */
:root,
[data-theme="dark"] {
    /* Inherit all site tokens, add landing-specific ones */
    --font-body:    'Inter', Arial, sans-serif;
    --font-mono:    'JetBrains Mono', monospace;

    /* Surfaces */
    --surface-1:    #161616;
    --surface-2:    #222222;
    --surface-3:    #2a2a2a;
    --border-dim:   #2e2e2e;

    /* Glows */
    --glow-green:   rgba(107, 165, 57, 0.18);
    --glow-blue:    rgba(126, 184, 201, 0.18);
    --glow-warm:    rgba(196, 154, 108, 0.18);

    /* Text */
    --text-primary:   #eeeeee;
    --text-secondary: #bbbbbb;
    --text-muted:     #777777;
    --text-dim:       #555555;

    /* Brand colours (same in both themes) */
    --c-green:   #6BA539;
    --c-dark-green: #00573F;
    --c-blue:    #7EB8C9;
    --c-warm:    #C49A6C;

    /* Hero / section backgrounds */
    --hero-bg:   linear-gradient(160deg, #111111 0%, #1a1a1a 60%, #0d1a12 100%);
    --hero-border: #2a2a2a;
    --tools-bg:  var(--surface-2);
    --skills-bg: linear-gradient(180deg, #161616 0%, #1a1a1a 40%, #0f1a0f 100%);
    --footer-bg: #111111;
    --footer-border: #222222;
    --footer-copy-border: #1e1e1e;

    /* Card backgrounds */
    --card-bg:   linear-gradient(135deg, #1e1e1e 0%, #1a1a1a 100%);
    --tile-bg:   linear-gradient(160deg, #2e2e2e 0%, #252525 100%);
    --tag-bg:    #1a1a1a;
    --tag-border: #333333;
    --tag-color: #777777;

    /* Header */
    --header-bg: #111111;
    --header-text: #eeeeee;
    --header-sub:  #888888;
    --header-border: #1e1e1e;
    --nav-link: #cccccc;
    --nav-link-hover: #6BA539;
}

/* =============================================
   LIGHT THEME OVERRIDES
============================================= */
[data-theme="light"] {
    --surface-1:    #f5f5f2;
    --surface-2:    #ececea;
    --surface-3:    #e2e2e0;
    --border-dim:   #d0d0cc;

    --glow-green:   rgba(107, 165, 57, 0.12);
    --glow-blue:    rgba(126, 184, 201, 0.12);
    --glow-warm:    rgba(196, 154, 108, 0.12);

    --text-primary:   #1a1a1a;
    --text-secondary: #333333;
    --text-muted:     #666666;
    --text-dim:       #888888;

    --hero-bg:   linear-gradient(160deg, #e8ede8 0%, #f0f4f0 60%, #ddeade 100%);
    --hero-border: #c8d8c8;
    --tools-bg:  var(--surface-2);
    --skills-bg: linear-gradient(180deg, #f2f5f2 0%, #eaeeea 40%, #dde8dd 100%);
    --footer-bg: #e8e8e5;
    --footer-border: #d0d0cc;
    --footer-copy-border: #c8c8c4;

    --card-bg:   linear-gradient(135deg, #ffffff 0%, #f8f8f5 100%);
    --tile-bg:   linear-gradient(160deg, #ffffff 0%, #f5f5f2 100%);
    --tag-bg:    #ebebea;
    --tag-border: #ccccca;
    --tag-color: #555555;

    --header-bg: #ffffff;
    --header-text: #1a1a1a;
    --header-sub:  #555555;
    --header-border: #e0e0dc;
    --nav-link: #333333;
    --nav-link-hover: #00573F;
}

/* =============================================
   BASE BODY
============================================= */
body {
    font-family: var(--font-body);
    background-color: var(--surface-1);
    color: var(--text-secondary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* =============================================
   HEADER — apply theme variables
============================================= */
header {
    background-color: var(--header-bg) !important;
    border-bottom: 1px solid var(--header-border) !important;
    transition: background-color 0.3s ease;
}

header .header-brand h1 {
    color: var(--header-text);
}

header .header-brand p {
    color: var(--header-sub);
}

header nav a {
    color: var(--nav-link);
    transition: color 0.2s ease;
}

header nav a:hover,
header nav a[aria-current="page"] {
    color: var(--nav-link-hover);
}

/* Focus styles — visible keyboard outline */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--c-green);
    outline-offset: 3px;
    border-radius: 3px;
}

/* =============================================
   NAV CONTROLS — theme toggle + hamburger
============================================= */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

/* Theme toggle button */
.theme-toggle {
    background: transparent;
    border: 1.5px solid var(--border-dim);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
    flex-shrink: 0;
}

.theme-toggle:hover {
    border-color: var(--c-green);
    color: var(--c-green);
    background-color: var(--glow-green);
}

/* Hamburger button */
.nav-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: 1.5px solid var(--border-dim);
    border-radius: 4px;
    width: 36px;
    height: 34px;
    padding: 0 7px;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.nav-hamburger:hover {
    border-color: var(--c-green);
}

.hamburger-bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-muted);
    border-radius: 2px;
    transition: background-color 0.2s ease;
}

.nav-hamburger:hover .hamburger-bar {
    background-color: var(--c-green);
}

/* Hide hamburger on desktop */
@media (min-width: 600px) {
    .nav-hamburger { display: none; }
}

/* Mobile nav — hidden by default, toggled via JS */
@media (max-width: 599px) {
    #primaryNav {
        display: none;
        width: 100%;
        order: 3;
        padding: 0.5rem 0 0.75rem;
        border-top: 1px solid var(--border-dim);
        margin-top: 0.5rem;
    }

    #primaryNav.nav-open {
        display: block;
    }

    #primaryNav ul {
        flex-direction: column;
        gap: 0;
        padding: 0;
    }

    #primaryNav ul li a {
        display: block;
        padding: 0.6rem 0;
        font-size: 1rem;
    }

    .header-inner {
        flex-wrap: wrap;
    }
}

/* =============================================
   HERO FADE-IN ANIMATION
============================================= */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-animate {
    animation: heroFadeUp 0.65s ease both;
}

.hero-animate--delay {
    animation-delay: 0.18s;
}

/* =============================================
   HERO — two-column on desktop
============================================= */
.landing-hero {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    background: var(--hero-bg);
    border-bottom: 1px solid var(--hero-border);
    padding: 5rem 2rem 4rem;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}

/* Subtle grid texture */
.landing-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(107,165,57,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(107,165,57,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.landing-hero-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.landing-hero-photo img {
    width: 160px;
    height: 160px;
    min-width: 160px;
    min-height: 160px;
    max-width: 160px;
    max-height: 160px;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    border: 3px solid var(--c-green);
    box-shadow: 0 0 0 6px var(--glow-green), 0 8px 32px rgba(0,0,0,0.3);
    display: block;
    margin: 0 auto;
}

.landing-hero-text {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.landing-hero-text h2 {
    font-size: 2.6rem;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: none;
    margin: 0;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hero-role {
    color: var(--c-warm);
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.02em;
}

.hero-tagline {
    color: var(--c-blue);
    font-size: 1rem;
    font-style: italic;
    margin: 0;
}

.hero-body {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
    max-width: 520px;
}

.hero-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 0.5rem;
}

.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--c-green);
    padding: 0.55rem 1.4rem;
    border: 1.5px solid var(--c-green);
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: var(--font-body);
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-outline:hover {
    background-color: var(--c-green);
    color: #ffffff;
}

/* =============================================
   SECTION SHARED STYLES
============================================= */
.landing-section {
    padding: 3rem 0 1.5rem;
}

.landing-section h2 {
    color: var(--c-green);
    border-bottom: 2px solid var(--c-dark-green);
    padding-bottom: 0.3rem;
    margin-top: 0;
    margin-bottom: 0.4rem;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.section-sub {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin: 0 0 1.5rem;
}

/* =============================================
   TOOLS / FOCUS AREA
============================================= */
.tools-section {
    background-color: var(--tools-bg);
    border-top: 1px solid var(--border-dim);
    border-bottom: 1px solid var(--border-dim);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 2.5rem 2rem;
    transition: background-color 0.3s ease;
}

.tools-inner {
    max-width: 900px;
    margin: 0 auto;
}

.tools-inner h2 {
    color: var(--c-green);
    border-bottom: 2px solid var(--c-dark-green);
    padding-bottom: 0.3rem;
    margin-top: 0;
    margin-bottom: 0.4rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.tools-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.tool-pill {
    background: var(--card-bg);
    border: 1px solid var(--border-dim);
    border-radius: 6px;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.03);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tool-pill:hover {
    border-color: var(--c-green);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2), 0 0 0 1px var(--glow-green);
    transform: translateY(-2px);
}

.tool-pill:nth-child(2):hover { border-color: var(--c-blue); box-shadow: 0 4px 16px rgba(0,0,0,0.2), 0 0 0 1px var(--glow-blue); }
.tool-pill:nth-child(3):hover { border-color: var(--c-warm); box-shadow: 0 4px 16px rgba(0,0,0,0.2), 0 0 0 1px var(--glow-warm); }
.tool-pill:nth-child(4):hover { border-color: var(--c-green); box-shadow: 0 4px 16px rgba(0,0,0,0.2), 0 0 0 1px var(--glow-green); }
.tool-pill:nth-child(5):hover { border-color: var(--c-blue); box-shadow: 0 4px 16px rgba(0,0,0,0.2), 0 0 0 1px var(--glow-blue); }
.tool-pill:nth-child(6):hover { border-color: var(--c-warm); box-shadow: 0 4px 16px rgba(0,0,0,0.2), 0 0 0 1px var(--glow-warm); }

.tool-icon {
    font-size: 1.4rem;
    line-height: 1;
    flex-shrink: 0;
}

.tool-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.tool-name {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
}

.tool-desc {
    color: var(--text-muted);
    font-size: 0.78rem;
    margin: 0;
}

/* =============================================
   PROJECT CARDS GRID
============================================= */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.project-tile {
    background: var(--tile-bg);
    border-radius: 6px;
    border-top: 3px solid var(--c-green);
    padding: 1.25rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.04);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.project-tile::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 60px;
    background: linear-gradient(to bottom, rgba(107,165,57,0.06), transparent);
    pointer-events: none;
}

.project-tile:nth-child(2)::before { background: linear-gradient(to bottom, rgba(126,184,201,0.06), transparent); }
.project-tile:nth-child(3)::before { background: linear-gradient(to bottom, rgba(196,154,108,0.06), transparent); }
.project-tile:nth-child(4)::before { background: linear-gradient(to bottom, rgba(107,165,57,0.06), transparent); }
.project-tile:nth-child(5)::before { background: linear-gradient(to bottom, rgba(126,184,201,0.06), transparent); }
.project-tile:nth-child(6)::before { background: linear-gradient(to bottom, rgba(196,154,108,0.06), transparent); }

.project-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.06);
    color: inherit;
}

.project-tile:nth-child(2) { border-top-color: var(--c-blue); }
.project-tile:nth-child(3) { border-top-color: var(--c-warm); }
.project-tile:nth-child(4) { border-top-color: var(--c-green); }
.project-tile:nth-child(5) { border-top-color: var(--c-blue); }
.project-tile:nth-child(6) { border-top-color: var(--c-warm); }

.tile-icon {
    font-size: 1.6rem;
    line-height: 1;
    display: block;
}

.tile-title {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0;
}

.tile-summary {
    color: var(--text-muted);
    font-size: 0.84rem;
    margin: 0;
    flex: 1;
    line-height: 1.5;
}

.tile-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.25rem;
}

.tag {
    background-color: var(--tag-bg);
    border: 1px solid var(--tag-border);
    color: var(--tag-color);
    font-size: 0.72rem;
    font-family: var(--font-mono);
    padding: 0.1rem 0.45rem;
    border-radius: 3px;
}

/* =============================================
   SKILLS + TIMELINE SECTION
============================================= */
.skills-col { flex: 1; min-width: 160px; }
.timeline-col { flex: 3; }

.skills-timeline-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    background: var(--skills-bg);
    border-top: 1px solid var(--border-dim);
    border-bottom: 1px solid var(--border-dim);
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}

/* Dot grid texture */
.skills-timeline-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(107,165,57,0.06) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.skills-timeline-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.skills-timeline-wrap {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.skills-col h2,
.timeline-col h2 {
    color: var(--c-green);
    border-bottom: 2px solid var(--c-dark-green);
    padding-bottom: 0.3rem;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

/* Skills list */
.skills-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skills-list li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--border-dim);
}

.skills-list li:last-child {
    border-bottom: none;
}

/* =============================================
   HORIZONTAL TIMELINE — fixed-height staircase
   FIX: padding-top increased to prevent clipping
   of the two shortest blocks (items 1 & 2)
============================================= */
.timeline-col .timeline {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-end;
    position: relative;
    padding: 3.5rem 0 0;       /* increased from 2rem — prevents top clipping */
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--border-dim) transparent;
}

/* Horizontal line */
.timeline-col .timeline::before {
    content: '';
    position: absolute;
    bottom: 1.5rem;
    left: 3%;
    right: 3%;
    height: 2px;
    background: linear-gradient(to right, #3a6020, #6BA539 30%, #7EB8C9 60%, #C49A6C);
    top: unset;
}

/* Each item anchors to baseline and grows upward */
.timeline-col .timeline-item {
    flex: 1;
    min-width: 85px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    justify-content: flex-end;
}

/* Content block */
.timeline-col .timeline-item .timeline-content {
    width: 88%;
    overflow: hidden;
    background: var(--card-bg);
    border-radius: 4px;
    padding: 0.4rem 0.3rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 50px;
    min-height: unset;
}

.timeline-col .timeline-item .timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* Staircase — fixed heights */
.timeline-col .timeline-item:nth-child(1) .timeline-content { height: 50px;  border-top: 2px solid #3a6020; }
.timeline-col .timeline-item:nth-child(2) .timeline-content { height: 70px;  border-top: 2px solid #4f7e2a; }
.timeline-col .timeline-item:nth-child(3) .timeline-content { height: 90px;  border-top: 2px solid #6BA539; }
.timeline-col .timeline-item:nth-child(4) .timeline-content { height: 110px; border-top: 2px solid #7EB8C9; }
.timeline-col .timeline-item:nth-child(5) .timeline-content { height: 130px; border-top: 2px solid #9ecad8; }
.timeline-col .timeline-item:nth-child(6) .timeline-content { height: 150px; border-top: 2px solid #b08050; }
.timeline-col .timeline-item:nth-child(7) .timeline-content { height: 170px; border-top: 3px solid #C49A6C; }

/* Dots */
.timeline-col .timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--surface-1);
    margin-bottom: 0.45rem;
    flex-shrink: 0;
    z-index: 2;
    position: relative;
}

.timeline-col .timeline-item:nth-child(1) .timeline-dot { background: #3a6020; box-shadow: 0 0 6px rgba(58,96,32,0.8); }
.timeline-col .timeline-item:nth-child(2) .timeline-dot { background: #4f7e2a; box-shadow: 0 0 6px rgba(79,126,42,0.8); }
.timeline-col .timeline-item:nth-child(3) .timeline-dot { background: #6BA539; box-shadow: 0 0 8px rgba(107,165,57,0.8); }
.timeline-col .timeline-item:nth-child(4) .timeline-dot { background: #7EB8C9; box-shadow: 0 0 8px rgba(126,184,201,0.8); }
.timeline-col .timeline-item:nth-child(5) .timeline-dot { background: #9ecad8; box-shadow: 0 0 8px rgba(158,202,216,0.8); }
.timeline-col .timeline-item:nth-child(6) .timeline-dot { background: #b08050; box-shadow: 0 0 8px rgba(176,128,80,0.8); }
.timeline-col .timeline-item:nth-child(7) .timeline-dot { background: #C49A6C; width: 16px; height: 16px; box-shadow: 0 0 14px rgba(196,154,108,1); }

/* Current role highlight */
.timeline-col .timeline-current .timeline-content h3 { color: var(--c-warm); }

/* Typography */
.timeline-col .timeline-content h3 {
    font-size: 0.72rem;
    color: var(--text-primary);
    font-weight: 600;
    margin: 0 0 0.15rem;
    line-height: 1.2;
}

.timeline-col .timeline-content p {
    font-size: 0.63rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.3;
}

/* Mobile scroll hint */
.timeline-scroll-hint {
    display: none;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    letter-spacing: 0.03em;
}

/* =============================================
   FOOTER
============================================= */
.landing-footer {
    background-color: var(--footer-bg);
    border-top: 1px solid var(--footer-border);
    margin-top: 3rem;
    transition: background-color 0.3s ease;
}

.landing-footer-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2.5rem 1rem 1.5rem;
    text-align: center;
}

.footer-col h3 {
    color: var(--c-green);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 0.75rem;
}

.footer-col p {
    color: var(--text-dim);
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

.footer-col a {
    color: var(--text-dim);
    font-size: 0.85rem;
    display: block;
    margin-bottom: 0.35rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--c-green); }

.footer-copy {
    text-align: center;
    color: var(--text-dim);
    font-size: 0.78rem;
    padding: 1rem;
    border-top: 1px solid var(--footer-copy-border);
    margin: 0;
}

/* =============================================
   BREAKPOINT — 600px+
============================================= */
@media (min-width: 600px) {

    .landing-hero-inner {
        flex-direction: row;
        text-align: left;
        align-items: center;
    }

    .hero-btn-group { justify-content: flex-start; }
    .hero-body { max-width: 100%; }

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .skills-timeline-wrap {
        flex-direction: row;
        align-items: flex-start;
    }

    .landing-footer-grid {
        grid-template-columns: repeat(3, 1fr);
        text-align: left;
    }
}

/* =============================================
   MOBILE — horizontal timeline scrolls
============================================= */
@media (max-width: 599px) {

    .timeline-col .timeline {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
    }

    .timeline-col .timeline-item {
        min-width: 70px;
    }

    /* Show scroll hint on mobile */
    .timeline-scroll-hint {
        display: block;
    }
}

/* =============================================
   BREAKPOINT — 900px+
============================================= */
@media (min-width: 900px) {

    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}